package org.yelongframework.pdm.xml;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;

import org.yelongframework.pdm.PdmResolveException;
import org.yelongframework.pdm.PdmResolver;

/**
 * 使用XML格式解析PDM文件
 * 
 * @since 1.0.0
 */
public interface XmlPdmResolver extends PdmResolver {

	/**
	 * 解析表
	 * 
	 * @param inputStream PDM文件流
	 * @throws PdmResolveException 解析异常
	 * @throws IOException         流异常
	 * @return 表集合
	 */
	List<CTables> resolveCTables(InputStream inputStream) throws PdmResolveException, IOException;

}
